package com.feilx.changggou.seckill.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author feilx
 * @email 852371260@qq.com
 * @date 2020-08-13 22:05:44
 */
@ApiModel
@Data
@TableName("tb_seckill_goods")
public class TbSeckillEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	@ApiModelProperty(name = "id",value = "")
	private Long id;
	/**
	 * spu ID
	 */
	@ApiModelProperty(name = "supId",value = "spu_ID")
	private Long supId;
	/**
	 * sku ID
	 */
	@ApiModelProperty(name = "skuId",value = "sku_ID")
	private Long skuId;
	/**
	 * 标题
	 */
	@ApiModelProperty(name = "name",value = "标题")
	private String name;
	/**
	 * 商品图片
	 */
	@ApiModelProperty(name = "smallPic",value = "商品图片")
	private String smallPic;
	/**
	 * 原价格
	 */
	@ApiModelProperty(name = "price",value = "原价格")
	private BigDecimal price;
	/**
	 * 秒杀价格
	 */
	@ApiModelProperty(name = "costPrice",value = "秒杀价格")
	private BigDecimal costPrice;
	/**
	 * 添加日期
	 */
	@ApiModelProperty(name = "createTime",value = "添加日期")
	private Date createTime;
	/**
	 * 审核日期
	 */
	@ApiModelProperty(name = "checkTime",value = "审核日期")
	private Date checkTime;
	/**
	 * 审核状态，0未审核，1审核通过，2审核不通过
	 */
	@ApiModelProperty(name = "status",value = "审核状态，0未审核，1审核通过，2审核不通过")
	private String status;
	/**
	 * 开始时间
	 */
	@ApiModelProperty(name = "startTime",value = "开始时间")
	private Date startTime;
	/**
	 * 结束时间
	 */
	@ApiModelProperty(name = "endTime",value = "结束时间")
	private Date endTime;
	/**
	 * 秒杀商品数
	 */
	@ApiModelProperty(name = "num",value = "秒杀商品数")
	private Integer num;
	/**
	 * 剩余库存数
	 */
	@ApiModelProperty(name = "stockCount",value = "剩余库存数")
	private Integer stockCount;
	/**
	 * 描述
	 */
	@ApiModelProperty(name = "introduction",value = "描述")
	private String introduction;

}
